const {resolve} = require('path')
const Plugin = require('./plugins/index')
module.exports={
    mode:'production',
    entry:'./src/index.js',
    output:{
        clean:true,
        filename:'js/[name].js',
        path:resolve(__dirname,'build')
    },
    plugins:[
        new Plugin()
    ]
}